/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ui;

import java.awt.Dimension;
import java.awt.Image;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JToolBar;

/**
 *
 * @author juanan
 */
public class BarraIconos extends JToolBar
{
    private JButton abrir;
    private JButton guardar;
    private JButton salir;
    private Dimension d;
    
    public BarraIconos()
    {
       d=new Dimension(20,20);
       abrir=new JButton(new ImageIcon(getClass().getResource("/resources/Folder.png")));
       abrir.setPreferredSize(d);
       this.add(abrir);
      /*  JButton guardar=new JButton(setIcon(new ImageIcon(getClass().getResource(""))));
        JButton salir=new JButton(setIcon(new ImageIcon(getClass().getResource(""))));*/
    }
}
